<template>
  <el-dialog
    :visible="dialogTransferToVisible"
    :close-on-click-modal="false"
    width="480px"
    @close="closeDialog"
  >
    <div
      slot="title"
      class="header-title"
      style="background-color: #409eff; color: #fff"
    >
      <div style="padding: 15px 20px">流转到</div>
    </div>
    <el-button type="primary">指导老师申报课题</el-button>
    <el-button type="primary">学生申报课题</el-button>
    <el-button type="primary">系主任审核</el-button>
    <el-button type="primary">论文秘书审核</el-button>
    <el-form ref="form" :model="transfer" label-width="120px">
      <el-form-item label="流转意见：">
        <el-input
          type="textarea"
          rows="4"
          v-model="transfer.opinion"
          placeholder="请输入流转意见"
          style="width: 200px; margin-bottom: 40px"
        ></el-input>
      </el-form-item>
    </el-form>
  </el-dialog>
</template>

<script>
export default {
  props: ['dialogTransferToVisible'],

  data() {
    return {
      transfer: {
        opinion: '',
      },
    };
  },

  methods: {
    closeDialog() {
      this.$emit('closeDialogFormVisible');
    },
  },
};
</script>

<style lang="less" scoped>
// eslint-disable-line
/deep/ .el-dialog {
  .el-dialog__body {
    padding: 0px;
  }
  .el-dialog__header {
    padding: 0px;
    margin-bottom: 20px;
  }
  .el-dialog__headerbtn {
    top: 5px;
    right: 5px;
    padding-top: 10px;
  }
  .el-dialog__headerbtn .el-dialog__close {
    color: #fff;
    height: 30px;
    width: 35px;
  }
  .el-dialog__headerbtn .el-dialog__close:hover {
    color: gray;
  }

  .el-button {
    height: 40px;
    width: 280px;
    margin: 15px 100px;
  }

  .el-form {
    margin: 10px 60px;
  }
}
</style>
